﻿/*表格中使用layui的默认的尺寸属性，移除wtsize*/

table[lay-size='sm'] th {
    height: 31px;
}

.layui-table-body.layui-table-main table[lay-size='sm'] td {
    color: rgb(51,51,51);
    font-size: 14px;
}

.layui-table-header table[lay-size='sm'] th { /*表头*/
    color: black;
    font-weight: bolder;
    font-size: 14px;
}

.layui-table-total table[lay-size='sm'] td {
    /*合计行*/
    font-weight: bold;
    color: red;
    font-size: 14px;
}





table[lay-size='sm'] th,
table[lay-size='sm'] td {
    /*不可以设置左右的padding，这将影响layui自动计算宽度*/
    padding: 2px 0 !important;
}

table[lay-size='sm'] .layui-table-cell {
    padding: 0 5px;
}
